#pragma once

#include "../headers/Base.h"

class CUnit :
   public CBase
{
   // Power, Range, Movement, Health, Max Health
   enum StatIDs { POW = 0, RNG, MOV, HP, MAX_HP, NUM_STATS };

   struct tStats
   {
      int r_nStatistics[NUM_STATS];
   } m_tStats;

public:
   CUnit(void);
   ~CUnit(void);

   void Update (float dTime);
   
   // These are called by Update if required
   void Render (float dTime);
   void Input (float dTIme);

   // SETTERS //

   // Can receive a positive or negative value
   // NOTE:-- In the Proto this will only mess with Health
   void AdjustStat (int nChange, int nStatID);

   // GETTERS //

   // Will not change the stat, merely for query
   // returns a copy
   int RetrieveStat (int nStatID);
};

